package command.emocao;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;

import command.ICommand;

public class TodasEmocoesSelecionadasCommand implements ICommand{

	@Override
	public String execute(HttpServletRequest request) throws ServletException,IOException {
		String sel = request.getParameter("selecao");
		boolean selecionado = Boolean.parseBoolean(sel);
		request.setAttribute("selecao", selecionado);
		return "controller.do?acao=listarQuestionario";
	}

}
